export const roleTypeEnum = [
  { value: "1", label: "PC角色" },
  { value: "2", label: "溯源管理角色" }
];

export type ModeType = "add" | "edit";

export interface FormInlineType {
  roleNameLike: string;
  pageNum: number;
  pageSize: number;
}

export interface RoleInfoType {
  roleName: string;
  roleDesc: string;
  roleType: string;
  id?: number;
  [propName: string | number]: any; // propName字段必须是 string类型 or number类型。 值是any类型，也就是任意的
}
export interface StateType {
  tableData: RoleInfoType[];
  roleInfo: RoleInfoType;
}
